$(function(){
	
	$.post("getFootballVoteAll",{votingType:'1'},function(data){
		if(data.code==0&&data.data.length>0){
			var rel=data.data;
			$(".zgj img").attr("src","images/"+rel[0].teamLogo)
			$(".zgj p").text(rel[0].teamName)
		}
	})
	$.post("getFootballVoteAll",{votingType:'8'},function(data){
		if(data.code==0&&data.data.length>0){
			var rel=data.data;
			$(".bq").each(function(index){
				$(this).find("img").attr("src","images/"+rel[index].teamLogo)
				$(this).find("p").text(rel[index].teamName)
			})
		}
	})
	$(".fh").click(function(){
		window.location.replace("wx_index")
	})
	$(".fx").click(function(){
		window.location.href="wx_fx"
	})
	$(".message").click(function(){
		window.location.href="wx_input"
	})
})
